{% extends "mainapp/base.html" %}

{% load static %}
{% load bootstrap %}

{% block title %} 用户信息管理 {% endblock %}


{% block content %}
    <div class="row">
        <div class="col-4"></div>
        <div class="col-4">
            <h1 class="mt-4">登录</h1>
            <form method="post" class="mt-4">
                {% csrf_token %}
                <div class="form-group">
                    {{ form.username.label_tag }}
                    {{ form.username }}
                </div>
                <div class="form-group">
                    {{ form.password.label_tag }}
                    {{ form.password }}
                </div>
                <div class="mt-4 text-right">
                    <button type="submit" class="btn btn-primary float-end">登录</button>
                </div>
            </form>
        </div>
        <div class="col-4"></div>
    </div>


{% endblock %}